package Project2.cs342.project1.mathNotebook.expressions;

import Project2.cs342.project1.mathNotebook.expressions.exceptions.UncapturedVariableException;

public class LiteralExpr extends Expr {

    public double value;

    public LiteralExpr(double value) {
	this.value = value;
    }

    @Override
    public Object accept(Visitor v) throws UncapturedVariableException {
	return v.visit(this);
    }
}
